package com.applet.message.problem.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.applet.common.annotation.Excel;
import com.applet.common.core.domain.BaseEntity;

/**
 * 问题反馈的图片路径关联对象 problem_image
 * 
 * @author ruoyi
 * @date 2024-09-26
 */
public class ProblemImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问题反馈的图片Id */
    @ApiModelProperty(value = "问题反馈的图片Id",dataType = "Long")
    private Long imageId;

    /** 图片路径 */
    @ApiModelProperty(value = "图片路径",dataType = "String")
    @Excel(name = "图片路径")
    private String imageUrl;

    /** 问题反馈处理表的id */
    @ApiModelProperty(value = "问题反馈处理表的id",dataType = "Long")
    @Excel(name = "问题反馈处理表的id")
    private Long problemId;

    public ProblemImage(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public void setImageId(Long imageId) 
    {
        this.imageId = imageId;
    }

    public Long getImageId() 
    {
        return imageId;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setProblemId(Long problemId) 
    {
        this.problemId = problemId;
    }

    public Long getProblemId() 
    {
        return problemId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imageId", getImageId())
            .append("imageUrl", getImageUrl())
            .append("problemId", getProblemId())
            .toString();
    }
}
